import json
import requests

HEADER = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) '
                  'AppleWebKit/537.36 (KHTML, like Gecko) '
                  'Chrome/103.0.0.0 Safari/537.36'
}
URL = 'https://fanyi.baidu.com/sug'

DATA = {
    'kw': 'acfun'
}

response = requests.post(url=URL, headers=HEADER, data=DATA)
jsonData = response.text
print(jsonData)
print(json.loads(jsonData))


